<script >
export default{
    data(){
        return{
            item:0
        }
    }
}
</script>

<template>  
<input type="button" value="v-on:click(全写)" v-on:click="item+=3">
<input type="button" value="v-on:click(缩写)" @click="item+=1">

<div>{{ item }}</div>
</template>

<style scoped>

</style>
